using System;
using PropertyExpression.Common;

namespace PropertyExpression.ReactiveRelation
{
    public interface IBinder<out TCalcContext, out TEntity>
    {
        Action<Func<IPropertyBindContext<TCalcContext, TEntity, TProperty>, IValue<TProperty>>>
            Bind<TProperty>(IPropertyExpressionProxy<TEntity, TProperty> propertyExpressionProxy);
    }
}